#ifndef CMATRIXNOTSQUAREEXCEPTION_H_
#define CMATRIXNOTSQUAREEXCEPTION_H_

#include "casideexception.h"

/**
 * CMatrixNotSquareException - matrix not square exception
 * @author Michal Rost
 * @date 06.10.2007
 */
class CMatrixNotSquareException : public CAsideException {
public:
  CMatrixNotSquareException() : CAsideException() {}
  CMatrixNotSquareException(
    string message) : CAsideException(message) {}
  CMatrixNotSquareException(
    string exClassName, string exMethodName,
    string message="") : CAsideException(exClassName, exMethodName, message) {}
  CMatrixNotSquareException(
    string exClassName, string exMethodName, string message,
    CAsideException* cause) : CAsideException(exClassName, exMethodName,
        message, cause) {}
  static string getClassName() {
    static const string CLASS_NAME = "CMatrixNotSquareException";
    return CLASS_NAME;
  }
};

#endif
